//
//  DFSegmentStyle.swift
//  DailyFresh
//
//  Created by Arthur on 2017/9/20.
//  Copyright © 2017年 DailyFresh. All rights reserved.
//

struct DFSegmentStyle {
    // 标题栏高度
    var titleViewHeight : CGFloat = normalize(value: 44)
    
    //正常情况默认黑色
    var titleViewTitleNormalColor: UIColor = UIColor(r: 0, g: 0, b: 0)
    
    //选中情况默认红色
    var titleViewTitleSelectedColor: UIColor = DFColorConstants.main
    
    //默认字体
    var titleViewTitleFont: UIFont = UIFont.systemFont(ofSize: normalize(value: 14.0))
    
    //默认不可以滚动
    var isScrollEnable: Bool = false
    
    var  titleViewMargin :  CGFloat = normalize(value: 20)  //默认间距
    var  isShowBottomLine : Bool = true      //是否显示底部线
    var  bottomLineHeight : CGFloat = normalize(value: 2.0)  //底部线的默认高度
    var  bottomLineColor : UIColor = DFColorConstants.main    //底部线默认颜色
    
    var isNeedScale : Bool = false   //是否需要放大
    var maxScale : CGFloat = 1.2   //缩放的最大值
    
    var isNeedMask : Bool = false   //是否需要遮罩
    var maskColor  : UIColor = UIColor(white: 0.4, alpha: 0.5)  //遮罩颜色
    var maskInsetMargin : CGFloat = normalize(value: 10)  //遮罩内部间距
    var maskHeight : CGFloat = normalize(value: 25)  //遮罩高度
    var maskLayerRadius : CGFloat = normalize(value: 12.5)  //遮罩圆角
}
